/* DeepSeek AI 插件样式 */

/* 调试功能样式 */
.deepseek-ai-debug-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.deepseek-ai-debug-section h3 {
    color: #00d4ff;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 500;
}

.deepseek-ai-debug-controls {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.deepseek-ai-debug-btn {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.deepseek-ai-debug-btn:hover {
    background: linear-gradient(135deg, #0099cc 0%, #007399 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.deepseek-ai-debug-btn.danger {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
}

.deepseek-ai-debug-btn.danger:hover {
    background: linear-gradient(135deg, #ff3742 0%, #ff1e2d 100%);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.deepseek-ai-debug-log {
    background: #1a1a1a;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    padding: 15px;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

.deepseek-ai-debug-log:empty::before {
    content: '暂无调试日志...';
    color: #666;
    font-style: italic;
}

.deepseek-ai-debug-log .log-timestamp {
    color: #888;
}

.deepseek-ai-debug-log .log-level-error {
    color: #ff4757;
}

.deepseek-ai-debug-log .log-level-warning {
    color: #ffa502;
}

.deepseek-ai-debug-log .log-level-info {
    color: #70a1ff;
}

.deepseek-ai-debug-log .log-level-debug {
    color: #7bed9f;
}

.deepseek-ai-debug-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
}

.deepseek-ai-debug-status.enabled {
    background: rgba(126, 237, 159, 0.2);
    color: #7bed9f;
    border: 1px solid #7bed9f;
}

.deepseek-ai-debug-status.disabled {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    border: 1px solid #ff4757;
}

/* 管理页面样式 */
.deepseek-ai-settings {
    background: linear-gradient(135deg, #1a1f3c 0%, #2d3a6d 100%);
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.deepseek-ai-settings::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0) 100%);
    pointer-events: none;
}

.deepseek-ai-settings h1 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.5);
    margin-bottom: 35px;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.deepseek-ai-settings .form-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.deepseek-ai-settings .form-table th {
    color: #00d4ff;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.deepseek-ai-settings .form-table input,
.deepseek-ai-settings .form-table select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    padding: 12px 15px;
    color: white;
    transition: all 0.3s ease;
    font-size: 14px;
}

.deepseek-ai-settings .form-table input:focus,
.deepseek-ai-settings .form-table select:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

/* 文章编辑界面样式 */
.deepseek-ai-meta-box {
    padding: 30px;
    background: linear-gradient(135deg, #1a1f3c 0%, #2d3a6d 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin: 25px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

/* LOGO头部样式 */
.deepseek-ai-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.deepseek-ai-header:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.deepseek-ai-header img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.deepseek-ai-header:hover img {
    transform: scale(1.1) rotate(5deg);
}

.deepseek-ai-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 设置页面LOGO头部样式 */
.deepseek-ai-settings-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #1a1f3c 0%, #2d3a6d 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.deepseek-ai-settings-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(77, 107, 254, 0.1) 0%, rgba(77, 107, 254, 0) 100%);
    pointer-events: none;
}

.deepseek-ai-settings-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.deepseek-ai-settings-header img {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.deepseek-ai-settings-header:hover img {
    transform: scale(1.1) rotate(10deg);
}

.deepseek-ai-settings-header h1 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.deepseek-ai-settings-header p {
    margin: 5px 0 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.deepseek-ai-meta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0) 100%);
    pointer-events: none;
}

.deepseek-ai-section {
    margin-bottom: 35px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.deepseek-ai-section:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.deepseek-ai-section h3 {
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
}

.deepseek-ai-section h3 .dashicons {
    margin-right: 15px;
    color: #00d4ff;
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.deepseek-ai-controls {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.deepseek-ai-controls button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(45deg, #00d4ff, #0099ff);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.deepseek-ai-controls button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.deepseek-ai-controls button:hover::before {
    left: 100%;
}

.deepseek-ai-controls button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

.deepseek-ai-controls button:disabled {
    background: #2d3a6d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.deepseek-ai-loading {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #00d4ff;
    font-size: 14px;
    padding: 12px 25px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    letter-spacing: 0.5px;
}

.deepseek-ai-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-top: 2px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.deepseek-ai-meta-box textarea,
.deepseek-ai-meta-box input[type="text"] {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
    color: white;
    letter-spacing: 0.5px;
}

.deepseek-ai-meta-box textarea:focus,
.deepseek-ai-meta-box input[type="text"]:focus {
    border-color: #00d4ff;
    outline: none;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

.deepseek-ai-meta-box label {
    display: block;
    margin-bottom: 10px;
    color: #00d4ff;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.deepseek-ai-meta-box .description {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-style: italic;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.deepseek-ai-seo-fields {
    display: grid;
}

.deepseek-ai-seo-fields p {
    margin: 0;
}

/* 字数统计样式 */
.character-count {
    text-align: right;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-top: 10px;
    font-style: italic;
    letter-spacing: 0.3px;
}

.character-count span {
    font-weight: 500;
    color: #00d4ff;
}

/* 复制按钮样式 */
.copy-btn {
    all: unset;
}

/* 响应式调整 */
@media screen and (max-width: 782px) {
    .deepseek-ai-meta-box {
        padding: 25px;
    }
    
    .deepseek-ai-section {
        padding: 15px;
    }
    
    .deepseek-ai-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .deepseek-ai-controls button {
        width: 100%;
        justify-content: center;
    }
}

/* 文章内容前显示的摘要样式 */
.deepseek-ai-summary-container {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e2e4e7;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.deepseek-ai-summary-container.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2271b1, #00d4ff);
    animation: loading 2s ease-in-out infinite;
}

.deepseek-ai-summary-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 10px;
    color: #2271b1;
    font-size: 14px;
    font-weight: 600;
}

.deepseek-ai-header-left {
    display: flex;
    align-items: center;
}

.deepseek-ai-header-right {
    display: flex;
    align-items: center;
}

/* 复制按钮样式 */
.deepseek-ai-copy-btn {
    background: none;
    border: none;
    color: #2271b1;
    cursor: pointer;
    padding: 4px;
    border-radius: 3px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.deepseek-ai-copy-btn:hover {
    background: none;
    opacity: 1;
    transform: scale(1.1);
}

.deepseek-ai-copy-btn:active {
    transform: scale(0.95);
}

.deepseek-ai-copy-btn svg {
    width: 16px;
    height: 16px;
    transition: all 0.2s ease;
}

.deepseek-ai-copy-btn.copied {
    color: #28a745;
}

.deepseek-ai-copy-btn.copied svg {
    transform: scale(1.2);
}

.deepseek-ai-copy-btn.error {
    color: #dc3545;
}

.deepseek-ai-copy-btn.error svg {
    transform: scale(1.2);
}

.deepseek-ai-summary-header .deepseek-ai-icon {
    width: 24px;
    height: 24px;
    background: #2271b1;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}


/* 移除重复的机器人图标 */
.deepseek-ai-summary-header:before {
    display: none;
}

.deepseek-ai-summary-header .deepseek-ai-title {
    color: #2271b1;
    font-size: 16px;
    font-weight: 600;
    position: relative;
}

.deepseek-ai-summary-header.loading .deepseek-ai-title::after {
    content: '...';
    position: absolute;
    animation: typing 1.5s infinite;
}

.deepseek-ai-summary-content {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 20px;
}

.deepseek-ai-summary-content.typing::after {
    content: '▋';
    display: inline-block;
    animation: blink 1s infinite;
    color: #2271b1;
    margin-left: 2px;
}

/* 动画效果 */
@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes typing {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
    100% { content: '.'; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .deepseek-ai-summary-container {
        padding: 15px;
        margin: 15px 0;
    }
    
    .deepseek-ai-summary-content {
        font-size: 14px;
    }
    
    .deepseek-ai-summary-header .deepseek-ai-title {
        font-size: 14px;
    }
}

/* 成功/错误提示样式 */
.deepseek-ai-success {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

.deepseek-ai-error {
    background: linear-gradient(45deg, #f44336, #d32f2f);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 工具提示样式 */
.deepseek-ai-tooltip {
    position: relative;
    cursor: help;
}

.deepseek-ai-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.deepseek-ai-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 5px);
}

@keyframes progressShine {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

/* 暗色主题适配 */
@media (prefers-color-scheme: dark) {
    .deepseek-ai-meta-box textarea,
    .deepseek-ai-meta-box input[type="text"] {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .deepseek-ai-meta-box textarea:focus,
    .deepseek-ai-meta-box input[type="text"]:focus {
        background: rgba(255, 255, 255, 0.2);
    }
}

/* 动画延迟类 */
.deepseek-ai-fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.deepseek-ai-slide-up {
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 文章展示页面的摘要样式 */
.deepseek-ai-summary-wrapper {
    margin: 20px 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.deepseek-ai-summary-box {
    background: #f8f9fa;
    border-left: 4px solid #2271b1;
    padding: 15px 20px;
    margin: 0;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.deepseek-ai-summary-header .deepseek-ai-title {
    color: #2271b1;
    font-size: 16px;
    font-weight: 600;
    position: relative;
}

.deepseek-ai-summary-header.loading .deepseek-ai-title::after {
    content: '...';
    position: absolute;
    animation: typing 1.5s infinite;
}

.deepseek-ai-summary-content {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .deepseek-ai-summary-box {
        padding: 12px 15px;
    }
    .deepseek-ai-summary-content {
        font-size: 14px;
    }
}

/* 统一按钮样式 */
.deepseek-ai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    width: 160px;
    height: 48px;
    line-height: 1;
    box-sizing: border-box;
}
.deepseek-ai-btn.summary {
    background: linear-gradient(45deg, #1a1f3c, #2d3a6d);
    color: #fff;
}
.deepseek-ai-btn.copy {
    background: linear-gradient(45deg, #00d4ff, #0099ff);
    color: #fff;
}
.deepseek-ai-btn:disabled {
    background: #2d3a6d;
    cursor: not-allowed;
    box-shadow: none;
}
.deepseek-ai-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

/* 增强摘要容器和打字机效果的样式 */
.deepseek-ai-loaded {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.deepseek-ai-summary-content.processing::after {
    content: '▎';
    display: inline-block;
    animation: blink 1s infinite;
    color: #2271b1;
    margin-left: 2px;
}

.deepseek-ai-summary-content.processed {
    color: #333 !important;
}

.deepseek-ai-summary-content.processed-error {
    color: #333 !important;
    border-left: 2px solid #ff4757;
    padding-left: 8px;
}

/* 确保摘要内容在任何情况下都能正常显示 */
.deepseek-ai-summary-container {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* 修复在某些主题中可能存在的冲突 */
.deepseek-ai-summary-container * {
    box-sizing: border-box;
    max-width: 100%;
}

.deepseek-ai-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 18px;
    line-height: 1;
}

/* 对摘要内容应用更好的文本渲染 */
.deepseek-ai-content {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

/* 社交标签设置样式 */
.deepseek-ai-social-fields {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* DeepSeek AI 图片上传容器样式 - 使用更具体的选择器避免冲突 */
.deepseek-ai-meta-box .deepseek-ai-image-upload,
.deepseek-ai-settings .deepseek-ai-image-upload {
    margin: 15px 0 !important;
    padding: 15px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.deepseek-ai-meta-box .deepseek-ai-image-upload .image-preview,
.deepseek-ai-settings .deepseek-ai-image-upload .image-preview {
    margin: 10px 0 !important;
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
}

.deepseek-ai-meta-box .deepseek-ai-image-upload .image-preview img,
.deepseek-ai-settings .deepseek-ai-image-upload .image-preview img {
    max-width: 200px !important;
    height: auto !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease !important;
    display: block !important;
    object-fit: cover !important;
}

.deepseek-ai-meta-box .deepseek-ai-image-upload .image-preview img:hover,
.deepseek-ai-settings .deepseek-ai-image-upload .image-preview img:hover {
    transform: scale(1.05) !important;
}

/* DeepSeek AI 图片上传按钮样式 - 使用更具体的选择器避免冲突 */
.deepseek-ai-meta-box .deepseek-ai-upload-btn,
.deepseek-ai-settings .deepseek-ai-upload-btn {
    margin-right: 10px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%) !important;
    color: white !important;
    border: none !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.25) !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
    overflow: hidden !important;
    font-family: inherit !important;
    line-height: normal !important;
    vertical-align: baseline !important;
    text-transform: none !important;
    text-shadow: none !important;
}

.deepseek-ai-meta-box .deepseek-ai-upload-btn::before,
.deepseek-ai-settings .deepseek-ai-upload-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: 0.5s !important;
    z-index: 1 !important;
}

.deepseek-ai-meta-box .deepseek-ai-upload-btn:hover::before,
.deepseek-ai-settings .deepseek-ai-upload-btn:hover::before {
    left: 100% !important;
}

.deepseek-ai-meta-box .deepseek-ai-upload-btn:hover,
.deepseek-ai-settings .deepseek-ai-upload-btn:hover {
    background: linear-gradient(135deg, #0099cc 0%, #007399 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3) !important;
    color: white !important;
}

.deepseek-ai-meta-box .deepseek-ai-upload-btn:focus,
.deepseek-ai-settings .deepseek-ai-upload-btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.3) !important;
    color: white !important;
}

.deepseek-ai-meta-box .deepseek-ai-upload-btn:active,
.deepseek-ai-settings .deepseek-ai-upload-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.25) !important;
    color: white !important;
}

/* 移除按钮样式 */
.deepseek-ai-meta-box .deepseek-ai-remove-btn,
.deepseek-ai-settings .deepseek-ai-remove-btn {
    margin-left: 10px;
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%) !important;
    color: white !important;
    border: none !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.25) !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
    overflow: hidden !important;
    font-family: inherit !important;
    line-height: normal !important;
    vertical-align: baseline !important;
    text-transform: none !important;
    text-shadow: none !important;
}

.deepseek-ai-meta-box .deepseek-ai-remove-btn::before,
.deepseek-ai-settings .deepseek-ai-remove-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: 0.5s !important;
    z-index: 1 !important;
}

.deepseek-ai-meta-box .deepseek-ai-remove-btn:hover::before,
.deepseek-ai-settings .deepseek-ai-remove-btn:hover::before {
    left: 100% !important;
}

.deepseek-ai-meta-box .deepseek-ai-remove-btn:hover,
.deepseek-ai-settings .deepseek-ai-remove-btn:hover {
    background: linear-gradient(135deg, #ff3742 0%, #ff1e2d 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4) !important;
    color: white !important;
}

.deepseek-ai-meta-box .deepseek-ai-remove-btn:focus,
.deepseek-ai-settings .deepseek-ai-remove-btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.3) !important;
    color: white !important;
}

.deepseek-ai-meta-box .deepseek-ai-remove-btn:active,
.deepseek-ai-settings .deepseek-ai-remove-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 5px rgba(255, 71, 87, 0.3) !important;
    color: white !important;
}

.deepseek-ai-social-fields label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.deepseek-ai-social-fields input[type="text"],
.deepseek-ai-social-fields textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.deepseek-ai-social-fields input[type="text"]:focus,
.deepseek-ai-social-fields textarea:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    outline: none;
}

.deepseek-ai-social-fields .description {
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .deepseek-ai-image-upload .image-preview img {
        max-width: 150px;
    }
    
    .deepseek-ai-image-upload .button {
        display: block;
        margin: 5px 0;
        text-align: center;
    }
}